

.view {
    height: 100%;
    margin: 0 auto; 
    background: #f5f5f5;
   // background-image: url('/src/assets/sixren/bj.png');
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center center; 
    background-attachment: fixed;
    padding: 5%;
    box-sizing: border-box;
    padding-top: 1em;

    .title {
        font-size: 2em;
        font-weight: bold;
        margin-top: 0;
    }

    .section {
        text-align: left;
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 1em;
        padding: 0 10px;

        .label {
            margin-right: 10px;
            display: inline-block;
            width: 40px;
            font-weight: bold;
            text-align: right;
        }

        .date-link {
            display: inline-block;
            color: #000;
            font-size: 1em;
            margin-right: 5em;
        }
    }

    .grid {
        margin-top: 1em;
        box-sizing: border-box;
        justify-content: space-around;
        flex-wrap: wrap;
        background: #f5f5f5;  
        border: 0.1em solid #000;
        // box-shadow: 0.2em 0 0.4em #333;
        //border-radius: 0.2em;

        >div {
            &:nth-child(even) {
                border-left: 0.1em solid #000;
                border-bottom: 0.1em solid #000;
                border-right: 0.1em solid #000;
            }

            &:nth-child(odd) {
                border-bottom: 0.1em solid #000;
            }
            &:nth-last-child(3) 
            {
                border: 0;
            }
            &:nth-last-child(2) 
            {
                border-left: 0.1em solid #000; 
                border-right: 0.1em solid #000;
                border-bottom: 0;
            }
            &:nth-last-child(1) 
            {
                border: 0;
            }

            div.tag-block {
                box-sizing: border-box;
                padding: 0;
                height: 8.4em;
                font-size: 1.1em;
                position: relative;
                color: #333;
                div.five-elements {
                    display: block;
                    content: ' ';
                    width: 100%;
                    text-align: center;
                    position: absolute;
                    top: 2.2em;
                    &>div{
                      margin: 0 0.2em;
                    }  
                    .bagua {
                            text-align: center;
                            display: inline-block;  
                            vertical-align: bottom;
                            span.yao{
                                opacity: 0.05;
                                margin: 0;
                                padding: 0;
                                line-height:0.5em;
                                height: 0.5em;
                                margin-bottom: 0.3em; 
                                display: block;
                                width: 2.4em; 
                                &.yin {    
                                        &::before,
                                        &::after {
                                            content: "";
                                            display: inline-block; 
                                            background-color: #000000; 
                                            height: 0.5em;
                                            width: 1.1em; 
                                        } 
                                        &::after { 
                                            float: right;
                                            margin-left: 0.1em; 
                                        } 
                                        &::before { 
                                        float: left;
                                            margin-right: 0.1em; 
                                        }  
                                } 
                                &.yang {  
                                    display: block;
                                    background-color: #ff0000; 
                                }
                            } 
                    } 

                } 
                &.won {

                    border: 1;
                    animation: none;
                    color: #4CAF50;
                    background-color: #fff;
                    transition: all 1s ease;
                    animation: blink 1s infinite;
                }

                &.one {
                   
                    .luo { 
                        color: #000;
                    }
                }

                &.two {
                    .luo { 
                        color: #000;
                    }
                 
                }

                >span {
                    display: inline-block;
                    position: absolute;
                    font-size: 1.1em;
                    font-weight: 900;
                    font-weight: bolder;

                    &.luo {
                        top: 3.6em;
                        right: 0.5em; 
                        color: #000;
                        z-index: 2;
                    }

                    &.liushen {
                        top: 0.5em;
                        left: 0.5em;  
                        color: #000;
                      //  color: #FF0000;
                        z-index: 2; 
                    }


                    &.wuxin {
                        top: 0.5em;
                        right: 0.5em;
                     //   color: #1564da;
                        z-index: 2;
                    }

                    &.liuqin {
                        top:2.1em;
                        right: 0.5em;
                        color: #000;
                      //  color: #FF0000;
                        z-index: 2;
                    }

                    &.dizhi {
                        top:2.1em;
                        left: 0.5em;
                       // color: #21b64e;
                        z-index: 2;
                    }

                    &.palace { 
                        top: 3.6em;
                        left: 0.5em; 
                        color: #000;
                        z-index: 2;
                    }
  
                    &.goldc {
                        color: #8B4726;
                    }

                    &.firec {
                        color:#FF0000;
                    }

                    &.timberc {
                        color: #00CD00;
                    }

                    &.waterc {
                        color: #00BFFF;
                    }

                    &.soilc {
                        color: #FFA500;
                    } 
                }

                >div.wuxing {
                    height: 1.5em;
                    width: 100%;
                    display: inline;
                    position: absolute;
                    text-align: center;
                    left: 0;
                    bottom: 0;
                    font-size: 1.2em;
                    font-weight: 600;
                    color: #fff;
                    line-height: 1.5em;

                    &.gold {
                        background: #8B4726;
                    }

                    &.fire {
                        background:#FF0000;
                    }

                    &.timber {
                        background: #00CD00;
                    }

                    &.water {
                        background: #00BFFF;
                    }

                    &.soil {
                        background-color: #FFA500;
                    }
                }
            }


            .gold {
                background: yellow;
            }

            .fire {
                background: red;
            }

            .timber {
                background: green;
            }

            .water {
                background: blue;
            }

            .soil {
                background-color: brown;
            }

            .grid-impression {
                width: 100%;
            }
        }

    } 
    .wechat{
        height: 1.5em;
        line-height: 1.5em;
        text-align: center;
        font-size: 1em;
        color: #8c8c8c;
        span{
            font-size: 0.8em;
        }
     
    }

    .footer {
        text-align: left;
        padding-left: 30px;
        margin-top: 20px;
        font-size: 0.8em;
    }


  

    
 
   .ccc .t-form 
    {
        background-color: #f5f5f5;
        .t-form__item
        {
           
            padding: 0.4em;
            border-bottom: 1px solid #000;
            border-left: 1px solid #000;
            border-right: 1px solid #000;
            &:nth-child(1)
            {
                border-top: 1px solid #000;
            }
            .t-form__item-wrap
            {
                background-color: #000;
                .t-form__label
                {
                    width: 5em;
                }
                .t-form__controls
                {
                    margin-left: 5em;
                }
            }
           
        }
        .break-word{
            width: 100%;
            text-align: left;
            display: block;
            overflow-wrap: break-word;
        }
    }

    .fff{
        // .t-input
        // {
        //     .t-input__wrap--prefix{
        //         background-color: #000;
        //     }
        //     color:gold ; 
        //      div{
        //             color: red;
        //       } 
        // }
        --td-input-label-text-color: red;
        --td-input-bg-color: #f5f5f5;
        --td-input-vertical-padding:1em 0.2em;
        --td-textarea-padding:0 0.2em;
        --bg-color-demo:#f5f5f5;
        --td-textarea-background-color:#f5f5f5;
        --td-textarea-label-color:red;
        --td-textarea-label-width:3em;
        --td-spacer-2:0.5em;
        --td-font-size-m:0.9em;
        .button-group{
            border: 0;
        }
        .textarea{
            height: 11em;
        }
    }
    
}



@keyframes blink {

    // 0%, 100% { opacity: 1; }
    // 50% { opacity: 0.3; }
    0%,
    100% {
        color: #000;
    }

    /* 正常文字颜色 */
    20% {
        color: #e41b1b;
    }

    /* 文字颜色变为白色 */
    40% {
        color: #1d8077;
    }

    /* 文字颜色变为白色 */
    60% {
        color: #0c8512;
    }

    /* 文字颜色变为白色 */
    80% {
        color: #ab1be4;
    }

    /* 文字颜色变为白色 */
}


/* 应用动画的类 */
.blink {
    animation: blink 1s infinite;
    /* 动画持续时间1秒，无限循环 */
}


/* 弹出层容器 */
.popup {
    margin: 0 auto;
    overflow: hidden;
    top: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    z-index: 999;
    background-image: url('/src/assets/sixren/bj.png');
    background-size: cover;
    /* Cover the entire element */
    background-repeat: no-repeat;
    /* Prevent the image from repeating */
    background-position: center center;
    /* Center the image */
    background-attachment: fixed;
    animation: vanish 4.5s linear forwards;
}

/* 弹出层图片 */
.popup img {
    width: 10em;
    height: 10em;
    margin: 50% auto;
    animation:
        spin 4s linear forwards,
        /* 旋转动画，持续5秒，线性速度，执行完成后保持最后一帧 */
        burst 1s linear forwards 4s;
    /* 分裂动画，持续5秒，线性速度，延迟5秒开始 */
    //  animation-delay: 0.5s; /* 延迟0.5秒开始 */
}

/* 定义旋转动画的关键帧 */
@keyframes vanish {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    99% {
        opacity: 0;
        transform: scale(2);
    }

    100% {
        display: none;
        z-index: 0;
    }
}


/* 定义旋转动画的关键帧 */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 定义分裂动画的关键帧 */
@keyframes burst {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 0;
        transform: scale(2) rotate(180deg);
    }
}


